@mixin background ($imgName){
    background: url("../../imgs/"+$imgName);
    background-size: 100% 100%;
}

@mixin textCenter($size,$lineHeight,$color:#333) {
    text-align: center;
    font-size: $size;
    line-height: $lineHeight;
    color: $color;
}

@mixin  shadeFull($background:rgba(0, 0, 0, 0.72)){
		position: absolute;
		overflow: hidden;
		display: none;
		top: 0;
		z-index: 998;
		width: 100%;
		height: 100%;
		background: $background;
}

@mixin scaleDom($name,$big:1.1,$small:.9) {
    @keyframes #{$name}{
    0%{
		transform: scale(1, 1);
	}
	25%{
		transform: scale($small, $small);
	}
	50%{
		transform: scale(1, 1);
	}
	100%{
		transform: scale($big, $big);
    }
}
}
// 左右滑动
@mixin scrollX($name){
	@keyframes #{$name} {
		from{
			margin-left:100%;
		}
		to{
			margin-left:-110%;
		}
	}
}